import Layout from '@/pages/public/layout' // 公共部分

const agreement = [{
  path: '/content/agreement',
  component: Layout,
  children: [{
    path: 'list',
    component: () => import('@/pages/content/agreement/index.vue'),
    meta: {
      title: '协议-列表',
      permission: 'content.agreement.list'
    }
  }, {
    path: 'create',
    component: () => import('@/pages/content/agreement/create.vue'),
    meta: {
      title: '协议-新建',
      permission: 'content.agreement.create'
    }
  }, {
    path: ':id/edit',
    component: () => import('@/pages/content/agreement/edit.vue'),
    meta: {
      title: '协议-编辑',
      permission: 'content.agreement.edit'
    }
  }]
}]

export default agreement
